﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace HubModule.Controls
{
    /// <summary>
    /// Interaction logic for TaskItemBox.xaml
    /// </summary>
    public partial class TaskItemBox : UserControl
    {
        public TaskItemBox()
        {
            InitializeComponent();
        }

        public static DependencyProperty TaskGuidProperty
            = DependencyProperty.Register("TaskGuid", typeof(Guid), typeof(TextBlock));

        public static DependencyProperty TaskNameProperty
            = DependencyProperty.Register("TaskName", typeof(string), typeof(TextBlock));

        public static DependencyProperty StatusProperty
            = DependencyProperty.Register("Status", typeof(string), typeof(TextBlock));

        public static DependencyProperty PriorityProperty
            = DependencyProperty.Register("Priority", typeof(string), typeof(TextBlock));



        public Guid TaskGuid
        {
            get { return (Guid)GetValue(TaskGuidProperty); }
            set { SetValue(TaskGuidProperty, value); }
        }

        public string TaskName
        {
            get { return (string)GetValue(TaskNameProperty); }
            set { SetValue(TaskNameProperty, value); }
        }
        public string Status
        {
            get { return (string)GetValue(StatusProperty); }
            set { SetValue(StatusProperty, value); }
        }
        public string Priority
        {
            get { return (string)GetValue(PriorityProperty); }
            set { SetValue(PriorityProperty, value); }
        }
    }
}
